package com.bjpowernode.result;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@AllArgsConstructor
@NoArgsConstructor
public enum ResultEnum {

    OK(200, "成功"),

    FAIL(500, "失败");

    @Setter
    @Getter
    private int code;

    @Setter
    @Getter
    private String msg;

}
